package executors.function;

import java.util.function.Consumer;

class ConsumerTest implements Consumer<Integer> {
  
  @Override
  public void accept(Integer total) {
    int i = 0;
    for (; i < total; i += 1)
      i += 1;
    
    System.out.println(i);
  }
}

public class Main02 {
  public static void main(String[] args) {
    ConsumerTest consumerTest = new ConsumerTest();
    consumerTest.accept(100);
  }
}
